#ifndef __LENGTHUNIT_H__
#define __LENGTHUNIT_H__

#include "Unit.h"
#include <string>
class LengthUnit: public Unit {
public:
        static LengthUnit& getInchUnit();
        static LengthUnit& getFeetUnit();
        static LengthUnit& getYardUnit();
        static LengthUnit& getMileUnit();
        static LengthUnit& getBaseUnit();
private:
        LengthUnit(const Uint32 ratio_i, const string& lengthUnitName_i);
        LengthUnit(const Uint32 ratio_i, const Unit &base, const string& lengthUnitName_i);
};

static const LengthUnit& YARD = LengthUnit::getYardUnit();
static const LengthUnit& MILE = LengthUnit::getMileUnit();
static const LengthUnit& FEET = LengthUnit::getFeetUnit();
static const LengthUnit& INCH = LengthUnit::getInchUnit();

#endif
